package com.after.saas.common.model.bo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Classname UserBO
 * @Description TODO
 * @Date 2021/3/24 18:02
 * @Created by hjchenmo
 */

@Data
public class UserBO implements Serializable {

    @ExcelIgnore
    private String id;

    @ExcelProperty("username")
    private String username;

    /**
     * 用户昵称
     */
    @ExcelProperty(index = 1, value = "nickname")
    private String nickname;

    /**
     * 邮箱
     */
    @ExcelProperty("email")
    private String email;


    /**
     * 密码
     */
    @ExcelProperty("password")
    private String password;

    /**
     * 手机号
     */
    @ExcelProperty("mobile")
    private String mobile;

    /**
     * 部门ID
     */
    @ExcelProperty("dept_id")
    private String deptId;

    /**
     * 部门名称
     */
    @ExcelProperty("dept_name")
    private String deptName;

    private String jwt;

    @ExcelProperty("account")
    private String account;

    private LocalDateTime createTime;

    private String updateTime;

}